package com.cw.entity;

import com.alibaba.excel.annotation.*;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.*;
import io.swagger.annotations.*;
import java.io.*;
import java.time.*;
import lombok.*;
import lombok.experimental.*;

/**
 * @author smq
 * @since 2021-04-27
 */
@ApiModel(value = "院区")
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("HOSPITAL_DISTRICT")
public class HospitalDistrict implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId("id")
    private String id;

    @ApiModelProperty(value = "院区编码")
    @ExcelProperty(value = "DISTRICT_CODE")
    @TableField("DISTRICT_CODE")
    private String districtCode;

    @ApiModelProperty(value = "院区名称")
    @ExcelProperty(value = "DISTRICT_NAME")
    @TableField("DISTRICT_NAME")
    private String districtName;

    @ApiModelProperty(value = "创建时间")
    @ExcelProperty(value = "CREATE_TIME")
    @TableField("CREATE_TIME")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    @ExcelProperty(value = "CREATE_BY")
    @TableField("CREATE_BY")
        private String createBy;

    @ApiModelProperty(value = "删除 0:未删除 1:已删除")
    @ExcelProperty(value = "DELETE_FLAG")
    @TableField("DELETE_FLAG")
        private String deleteFlag;



}
